2007-05-30 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
multi-monitor offset from x and y before setting up the rectangle
for ClipCursor(). Fixes #442326.
svn path=/trunk/; revision=17988
+2007-05-30 Tor Lillqvist <tml@novell.com>
+
+ * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
+ multi-monitor offset from x and y before setting up the rectangle
+ for ClipCursor(). Fixes #442326.
+
2007-05-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
gdk_window_get_origin (confine_to, &x, &y);
gdk_drawable_get_size (confine_to, &width, &height);
+ x -= _gdk_offset_x;
+ y -= _gdk_offset_y;
+
rect.left = x;
rect.top = y;
rect.right = x + width;